home *** CD-ROM | disk | FTP | other *** search
- function MoveStar(i, Name)
- {
- if(Name == "a")
- {
- this["tail" + i + "slicehelp"]._x = -3000;
- this["tail" + i + "slicehelp"].gotoAndStop(1);
- }
- else
- {
- this["tail" + i + "slicehelp"]._x = eval(Name)._x + 10 + Math.random() * 10;
- this["tail" + i + "slicehelp"]._y = eval(Name)._y + 10 + Math.random() * 10;
- this["tail" + i + "slicehelp"].gotoAndPlay(1);
- }
- }
- function Init(l)
- {
- Matrix = this["Matrix" + l];
- var alpha = 0;
- var i = 0;
- while(i < Matrix.length)
- {
- var j = 0;
- while(j < Matrix[i].length)
- {
- eval("s" + l + i + j)._alpha -= 1;
- j++;
- }
- i++;
- }
- alpha = eval("s" + l + 0 + 0)._alpha;
- if(alpha <= 0)
- {
- clearInterval(_root["doh" + l]);
- var aaa = this["Init" + l];
- aaa();
- }
- }
- function Init4()
- {
- this.attachMovie("hammer","hammer",this.getNextHighestDepth(),{_x:320,_y:250});
- this.attachMovie("digger","digger",this.getNextHighestDepth(),{_x:360,_y:250});
- this.attachMovie("watch","watch",this.getNextHighestDepth(),{_x:400,_y:250});
- this.attachMovie("lamp","lamp",this.getNextHighestDepth(),{_x:440,_y:250});
- var _loc3_ = 2000;
- if(_root.doh4 == 0)
- {
- _loc3_ = 14000;
- }
- if(_root.notexit)
- {
- clearInterval(_root.doh4);
- _root.doh4 = setInterval(function()
- {
- clearInterval(_root.doh4);
- b4.removeMovieClip();
- }
- ,_loc3_);
- }
- }
- function MoveCursor(a, b, c, l, endx)
- {
- if(!_root.notexit)
- {
- clearInterval(_root["c" + l]);
- }
- if(eval("cur" + l)._x == endx)
- {
- clearInterval(_root["c" + l]);
- _root["c" + l] = setInterval(MovingLeft,0,"cur" + l,eval("cur" + l)._x,l,"cur");
- if(l == 1)
- {
- Action1();
- }
- if(l == 2)
- {
- Action2();
- }
- if(l == 3)
- {
- Action3();
- }
- }
- else
- {
- eval("cur" + l)._x -= 1;
- var x = eval("cur" + l)._x;
- eval("cur" + l)._y = x * x * a + b * x + c;
- }
- updateAfterEvent();
- }
- function Init1()
- {
- h1 = 1;
- delete Matrix1;
- Matrix1 = new Array(3);
- var _loc4_ = new Array("slide5","slide4","slide2","slide3","slide1");
- Matrix1[0] = _loc4_;
- _loc4_ = new Array("slide3","slide2","slide1","slide5","slide4");
- Matrix1[1] = _loc4_;
- _loc4_ = new Array("slide1","slide2","slide2","slide4","slide5");
- Matrix1[2] = _loc4_;
- DrawMatrix(Matrix1,X1,Y1,1);
- var _loc11_ = 2000;
- if(_root.notexit)
- {
- clearInterval(_root.doh1);
- _root.doh1 = setInterval(function()
- {
- clearInterval(_root.doh1);
- CURSOR(1);
- var _loc6_ = undefined;
- var _loc9_ = undefined;
- var _loc10_ = undefined;
- var _loc2_ = undefined;
- var _loc3_ = undefined;
- var _loc4_ = undefined;
- var _loc5_ = undefined;
- var _loc8_ = undefined;
- var _loc7_ = 0;
- _loc4_ = 130;
- _loc7_ = 75;
- _loc3_ = 220;
- _loc8_ = 150;
- _loc2_ = _loc3_ - _loc4_;
- _loc5_ = _loc7_;
- _loc6_ = ((_loc8_ - _loc5_) / (_loc3_ - _loc2_) - (_loc7_ - _loc5_) / (_loc4_ - _loc2_)) / (_loc3_ - _loc4_);
- _loc9_ = (_loc8_ - _loc5_) / (_loc3_ - _loc2_) - _loc6_ * (_loc3_ + _loc2_);
- _loc10_ = _loc5_ - _loc6_ * _loc2_ * _loc2_ - _loc9_ * _loc2_;
- _root.c1 = setInterval(MoveCursor,0,_loc6_,_loc9_,_loc10_,1,_loc4_);
- b1.removeMovieClip();
- }
- ,_loc11_);
- }
- }
- function Action1()
- {
- if(_root.notexit)
- {
- this["m" + FindName(0,2,1)] = setInterval(MovingLeft,0,FindName(0,2,1),eval(FindName(0,2,1))._x,1);
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,1,1)] = setInterval(MovingRight,0,FindName(0,1,1),eval(FindName(0,1,1))._x,1);
- }
- }
- function Action2()
- {
- if(_root.notexit)
- {
- this["m" + FindName(2,2,2)] = setInterval(MovingRight,0,FindName(2,2,2),eval(FindName(2,2,2))._x,2);
- }
- if(_root.notexit)
- {
- this["m" + FindName(2,3,2)] = setInterval(MovingLeft,0,FindName(2,3,2),eval(FindName(2,3,2))._x,2);
- }
- }
- function Action3()
- {
- if(_root.notexit)
- {
- this["m" + FindName(2,2,3)] = setInterval(MovingRight,0,FindName(2,2,3),eval(FindName(2,2,3))._x,3);
- }
- if(_root.notexit)
- {
- this["m" + FindName(2,3,3)] = setInterval(MovingLeft,0,FindName(2,3,3),eval(FindName(2,3,3))._x,3);
- }
- }
- function Init2()
- {
- h2 = 1;
- delete Matrix2;
- Matrix2 = new Array(3);
- Line = new Array("slide4","slide1","slide4","slide2","slide3");
- Matrix2[0] = Line;
- Line = new Array("slide3","slide3","slide4","slide5","slide1");
- Matrix2[1] = Line;
- Line = new Array("slide4","slide4","slide2","slide4","slide1");
- Matrix2[2] = Line;
- DrawMatrix(Matrix2,X2,Y2,2);
- var _loc9_ = 2000;
- if(_root.doh2 == 0)
- {
- _loc9_ = 6000;
- }
- if(_root.notexit)
- {
- clearInterval(_root.doh2);
- _root.doh2 = setInterval(function()
- {
- clearInterval(_root.doh2);
- CURSOR(2);
- var _loc6_ = undefined;
- var _loc9_ = undefined;
- var _loc10_ = undefined;
- var _loc2_ = undefined;
- var _loc3_ = undefined;
- var _loc4_ = undefined;
- var _loc5_ = undefined;
- var _loc8_ = undefined;
- var _loc7_ = 0;
- _loc4_ = 415;
- _loc7_ = 130;
- _loc3_ = 490;
- _loc8_ = 60;
- _loc2_ = _loc3_ - _loc4_;
- _loc5_ = _loc7_;
- _loc6_ = ((_loc8_ - _loc5_) / (_loc3_ - _loc2_) - (_loc7_ - _loc5_) / (_loc4_ - _loc2_)) / (_loc3_ - _loc4_);
- _loc9_ = (_loc8_ - _loc5_) / (_loc3_ - _loc2_) - _loc6_ * (_loc3_ + _loc2_);
- _loc10_ = _loc5_ - _loc6_ * _loc2_ * _loc2_ - _loc9_ * _loc2_;
- _root.c2 = setInterval(MoveCursor,0,_loc6_,_loc9_,_loc10_,2,_loc4_);
- b2.removeMovieClip();
- }
- ,_loc9_);
- }
- }
- function Init3()
- {
- h3 = 1;
- delete Matrix3;
- Matrix3 = new Array(4);
- Line = new Array("slide1","slide4","slide2","slide4");
- Matrix3[0] = Line;
- Line = new Array("slide3","slicehelp","slide5","slide5");
- Matrix3[1] = Line;
- Line = new Array("slide3","slide3","slide2","slide3");
- Matrix3[2] = Line;
- Line = new Array("","","","");
- Matrix3[3] = Line;
- DrawMatrix(Matrix3,X3,Y3,3);
- var _loc9_ = 2000;
- if(_root.doh3 == 0)
- {
- _loc9_ = 10000;
- }
- if(_root.notexit)
- {
- clearInterval(_root.doh3);
- _root.doh3 = setInterval(function()
- {
- clearInterval(_root.doh3);
- CURSOR(3);
- var _loc6_ = undefined;
- var _loc9_ = undefined;
- var _loc10_ = undefined;
- var _loc2_ = undefined;
- var _loc3_ = undefined;
- var _loc4_ = undefined;
- var _loc5_ = undefined;
- var _loc8_ = undefined;
- var _loc7_ = 0;
- _loc4_ = 205;
- _loc7_ = 285;
- _loc3_ = 240;
- _loc8_ = 210;
- _loc2_ = _loc3_ - _loc4_;
- _loc5_ = _loc7_;
- _loc6_ = ((_loc8_ - _loc5_) / (_loc3_ - _loc2_) - (_loc7_ - _loc5_) / (_loc4_ - _loc2_)) / (_loc3_ - _loc4_);
- _loc9_ = (_loc8_ - _loc5_) / (_loc3_ - _loc2_) - _loc6_ * (_loc3_ + _loc2_);
- _loc10_ = _loc5_ - _loc6_ * _loc2_ * _loc2_ - _loc9_ * _loc2_;
- _root.c3 = setInterval(MoveCursor,0,_loc6_,_loc9_,_loc10_,3,_loc4_);
- b3.removeMovieClip();
- }
- ,_loc9_);
- }
- }
- function DrawMatrix(Matrix, x, y, l)
- {
- var i = 0;
- while(i < Matrix.length)
- {
- var j = 0;
- while(j < Matrix[i].length)
- {
- eval("s" + l + i + j).removeMovieClip();
- this.attachMovie(Matrix[i][j],"s" + l + i + j,this.getNextHighestDepth());
- eval("s" + l + i + j)._x = x + j * Size1;
- eval("s" + l + i + j)._y = y + i * Size1;
- j++;
- }
- i++;
- }
- }
- function CURSOR(l)
- {
- if(l == 1)
- {
- this.attachMovie("cursor","cur1",this.getNextHighestDepth(),{_x:220,_y:150});
- }
- if(l == 2)
- {
- this.attachMovie("cursor","cur2",this.getNextHighestDepth(),{_x:490,_y:60});
- }
- if(l == 3)
- {
- this.attachMovie("cursor","cur3",this.getNextHighestDepth(),{_x:240,_y:210});
- }
- }
- function MovingLeft(slide, x, l, chk)
- {
- var End = x - Size;
- if(eval(slide)._x > End + 2)
- {
- eval(slide)._x -= 0.5;
- }
- else
- {
- var i = FindIndexX(slide);
- var j = FindIndexY(slide);
- var temp = FindName(i,j,l);
- j--;
- var temp1 = FindName(i,j,l);
- if(chk != "cur")
- {
- RemoveSlides(temp,temp1,l);
- }
- else
- {
- clearInterval(_root["c" + l]);
- eval("cur" + l).removeMovieClip();
- }
- }
- updateAfterEvent();
- }
- function MovingRight(slide, x, l)
- {
- var End = x + Size;
- if(eval(slide)._x < End - 2)
- {
- eval(slide)._x += 0.5;
- }
- else
- {
- var i = FindIndexX(slide);
- var j = FindIndexY(slide);
- var temp = FindName(i,j++,l);
- var temp1 = FindName(i,j,l);
- RemoveSlides(temp,temp1,l,chk);
- }
- updateAfterEvent();
- }
- function MovingDown(slide, y, l, chk)
- {
- var End = y + Size;
- if(eval(slide)._y < End - 2)
- {
- eval(slide)._y += 1;
- }
- else
- {
- if(chk != "apear")
- {
- var i = FindIndexX(slide);
- var j = FindIndexY(slide);
- var temp = FindName(i++,j,l);
- var temp1 = FindName(i,j,l);
- }
- else
- {
- var temp = slide;
- }
- RemoveSlides(temp,temp1,l,chk);
- }
- updateAfterEvent();
- }
- function FindIndexX(name)
- {
- var _loc1_ = name.substr(name.indexOf("s") + 3,1);
- return _loc1_;
- }
- function FindIndexY(name)
- {
- var _loc1_ = name.substr(name.indexOf("s") + 4,1);
- return _loc1_;
- }
- function RemoveSlides(slide, slide1, l, chk)
- {
- Matrix = this["Matrix" + l];
- clearInterval(this["m" + slide]);
- clearInterval(this["m" + slide1]);
- removeMovieClip(eval(slide));
- removeMovieClip(eval(slide1));
- var i = FindIndexX(String(slide));
- var j = FindIndexY(String(slide));
- var i1 = FindIndexX(String(slide1));
- var j1 = FindIndexY(String(slide1));
- if(chk == "fall")
- {
- i++;
- var slide = FindName(i,j,l);
- this.attachMovie(Matrix[i][j],slide,this.getNextHighestDepth());
- eval(slide)._x = this["X" + l] + j * Size;
- eval(slide)._y = this["Y" + l] + i * Size;
- }
- else if(chk == "apear")
- {
- i = 0;
- j = slide.substr(3,1);
- var slide = FindName(i,j,l);
- this.attachMovie(Matrix[i][j],slide,this.getNextHighestDepth());
- eval(slide)._x = this["X" + l] + j * Size;
- eval(slide)._y = this["Y" + l] + i * Size;
- if(l == 1 && h1 == 2)
- {
- h1 = 3;
- Matrix[1][1] = Matrix[0][1];
- Matrix[0][1] = "slide1";
- this.attachMovie(Matrix[0][1],"sm" + l + 1,this.getNextHighestDepth());
- eval("sm" + l + 1)._y = Y1 - Size;
- eval("sm" + l + 1)._x = X1 + Size;
- if(_root.notexit)
- {
- this["m" + FindName(0,1,1)] = setInterval(MovingDown,0,FindName(0,1,1),eval(FindName(0,1,1))._y,1,"fall");
- }
- if(_root.notexit)
- {
- this["msm" + l + 1] = setInterval(MovingDown,0,"sm" + l + 1,eval("sm" + l + 1)._y,1,"apear");
- }
- }
- else if(l == 1 && h1 == 3)
- {
- h1 = 4;
- Matrix[2][1] = Matrix[1][1];
- Matrix[1][1] = Matrix[0][1];
- Matrix[0][1] = "slide2";
- this.attachMovie(Matrix[0][1],"sm" + l + 1,this.getNextHighestDepth());
- eval("sm" + l + 1)._y = Y1 - Size;
- eval("sm" + l + 1)._x = X1 + Size;
- if(_root.notexit)
- {
- this["m" + FindName(1,1,1)] = setInterval(MovingDown,0,FindName(1,1,1),eval(FindName(1,1,1))._y,1,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,1,1)] = setInterval(MovingDown,0,FindName(0,1,1),eval(FindName(0,1,1))._y,1,"fall");
- }
- if(_root.notexit)
- {
- this["msm" + l + 1] = setInterval(MovingDown,0,"sm" + l + 1,eval("sm" + l + 1)._y,1,"apear");
- }
- }
- else if(l == 1 && h1 == 4)
- {
- clearInterval(_root.doh1);
- if(_root.notexit)
- {
- _root.doh1 = setInterval(function()
- {
- Init(1);
- }
- ,10);
- }
- }
- else if(l == 2 && h2 == 2 && j == 2)
- {
- h2 = 3;
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide3";
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y2 - Size;
- eval("sm" + l + j)._x = X2 + j * Size;
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- }
- else if(l == 2 && h2 == 3 && j == 2)
- {
- h2 = 4;
- Matrix[2][j] = Matrix[1][j];
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide1";
- if(_root.notexit)
- {
- this["m" + FindName(1,j,l)] = setInterval(MovingDown,0,FindName(1,j,l),eval(FindName(1,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y2 - Size;
- eval("sm" + l + j)._x = X2 + j * Size;
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- }
- else if(l == 2 && h2 == 4)
- {
- clearInterval(_root.doh2);
- if(_root.notexit)
- {
- _root.doh2 = setInterval(function()
- {
- Init(2);
- }
- ,10);
- }
- }
- else if(l == 3 && h3 == 2 && j == 1)
- {
- h3 = 3;
- Matrix[3][j] = Matrix[2][j];
- Matrix[2][j] = Matrix[1][j];
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide2";
- if(_root.notexit)
- {
- this["m" + FindName(2,j,l)] = setInterval(MovingDown,0,FindName(2,j,l),eval(FindName(2,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(1,j,l)] = setInterval(MovingDown,0,FindName(1,j,l),eval(FindName(1,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y3 - Size;
- eval("sm" + l + j)._x = X3 + j * Size;
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- }
- else if(l == 3 && h3 == 3 && j == 1)
- {
- h3 = 4;
- var a;
- var b;
- var c;
- var x1;
- var x2;
- var x3;
- var y1;
- var y2;
- var y3 = 0;
- x3 = EndX;
- y3 = EndY;
- x2 = eval(FindName(3,1,3))._x;
- y2 = eval(FindName(3,1,3))._y;
- x1 = x2 + (50 + Math.random() * 50) * (x2 - x3) / Math.abs(x3 - x2);
- y1 = y2 - (50 + Math.random() * 50) * (y2 - y3) / Math.abs(y3 - y2);
- a = ((y2 - y1) / (x2 - x1) - (y3 - y1) / (x3 - x1)) / (x2 - x3);
- b = (y2 - y1) / (x2 - x1) - a * (x2 + x1);
- c = y1 - a * x1 * x1 - b * x1;
- if(_root.notexit)
- {
- var i = 10;
- _root.TAIL = setInterval(function()
- {
- if(i < 30 && _root.notexit)
- {
- MoveStar(i,FindName(3,1,3));
- i++;
- }
- else
- {
- clearInterval(_root.TAIL);
- }
- }
- ,150);
- _root.doh3 = setInterval(MoveArtToPosition,0,FindName(3,1,3),a,b,c);
- }
- }
- }
- else
- {
- this.attachMovie(Matrix[i1][j1],slide,this.getNextHighestDepth());
- this.attachMovie(Matrix[i][j],slide1,this.getNextHighestDepth());
- eval(slide)._x = this["X" + l] + j * Size;
- eval(slide)._y = this["Y" + l] + i * Size;
- eval(slide1)._x = this["X" + l] + j1 * Size;
- eval(slide1)._y = this["Y" + l] + i1 * Size;
- var newname = Matrix[i1][j1];
- Matrix[i1][j1] = Matrix[i][j];
- Matrix[i][j] = newname;
- if(l == 1 && h1 == 1)
- {
- h1 = 2;
- Blow(0,1,1);
- Blow(1,1,1);
- Blow(2,1,1);
- Matrix[0][1] = "slide1";
- this.attachMovie(Matrix[0][1],"sm" + l + 1,this.getNextHighestDepth());
- eval("sm" + l + 1)._y = Y1 - Size;
- eval("sm" + l + 1)._x = X1 + Size;
- if(_root.notexit)
- {
- this["msm" + l + 1] = setInterval(MovingDown,0,"sm" + l + 1,eval("sm" + l + 1)._y,1,"apear");
- }
- }
- else if(l == 2 && h2 == 1)
- {
- h2 = 2;
- Blow(2,0,2);
- Blow(2,1,2);
- Blow(2,2,2);
- Blow(0,2,2);
- Blow(1,2,2);
- j = 0;
- Matrix[2][j] = Matrix[1][j];
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide2";
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y2 - Size;
- eval("sm" + l + j)._x = X2 + j * Size;
- if(_root.notexit)
- {
- this["m" + FindName(1,j,l)] = setInterval(MovingDown,0,FindName(1,j,l),eval(FindName(1,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- j = 1;
- Matrix[2][j] = Matrix[1][j];
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide3";
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y2 - Size;
- eval("sm" + l + j)._x = X2 + j * Size;
- if(_root.notexit)
- {
- this["m" + FindName(1,j,l)] = setInterval(MovingDown,0,FindName(1,j,l),eval(FindName(1,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- j = 2;
- Matrix[0][j] = "slide1";
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y2 - Size;
- eval("sm" + l + j)._x = X2 + j * Size;
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- j--;
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- j--;
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- }
- else if(l == 3 && h3 == 1)
- {
- h3 = 2;
- Blow(2,0,3);
- Blow(2,1,3);
- Blow(2,2,3);
- j = 0;
- Matrix[2][j] = Matrix[1][j];
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide2";
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y3 - Size;
- eval("sm" + l + j)._x = X3 + j * Size;
- if(_root.notexit)
- {
- this["m" + FindName(1,j,l)] = setInterval(MovingDown,0,FindName(1,j,l),eval(FindName(1,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- j = 1;
- Matrix[2][j] = Matrix[1][j];
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide3";
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y3 - Size;
- eval("sm" + l + j)._x = X3 + j * Size;
- if(_root.notexit)
- {
- this["m" + FindName(1,j,l)] = setInterval(MovingDown,0,FindName(1,j,l),eval(FindName(1,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- j = 2;
- Matrix[2][j] = Matrix[1][j];
- Matrix[1][j] = Matrix[0][j];
- Matrix[0][j] = "slide1";
- this.attachMovie(Matrix[0][j],"sm" + l + j,this.getNextHighestDepth());
- eval("sm" + l + j)._y = Y3 - Size;
- eval("sm" + l + j)._x = X3 + j * Size;
- if(_root.notexit)
- {
- this["m" + FindName(1,j,l)] = setInterval(MovingDown,0,FindName(1,j,l),eval(FindName(1,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["m" + FindName(0,j,l)] = setInterval(MovingDown,0,FindName(0,j,l),eval(FindName(0,j,l))._y,l,"fall");
- }
- if(_root.notexit)
- {
- this["msm" + l + j] = setInterval(MovingDown,0,"sm" + l + j,eval("sm" + l + j)._y,l,"apear");
- }
- }
- }
- this["Matrix" + l] = Matrix;
- }
- function MoveArtToPosition(Name, a, b, c)
- {
- if(!_root.notexit)
- {
- clearInterval(_root.doh3);
- }
- var Done = false;
- var x = eval(Name)._x;
- var y = eval(Name)._y;
- var l = (x - EndX) / Math.abs(x - EndX);
- eval(Name)._x -= l;
- x = eval(Name)._x;
- eval(Name)._y = a * x * x + b * x + c;
- if(x == EndX)
- {
- Done = true;
- }
- if(Done)
- {
- clearInterval(_root.TAIL);
- var i = 10;
- while(i < 30)
- {
- MoveStar(i,"a");
- i++;
- }
- clearInterval(_root.doh3);
- if(_root.notexit)
- {
- _root.doh3 = setInterval(function()
- {
- Init(3);
- }
- ,10);
- }
- }
- updateAfterEvent();
- }
- function Blow(i, j, l)
- {
- Matrix = this["Matrix" + l];
- var Name = FindName(i,j,l);
- var slide = eval(Name);
- var Depth = slide.getDepth();
- slide.removeMovieClip();
- this.attachMovie("blow",Name + "b",Depth);
- eval(Name + "b")._x = this["X" + l] + j * Size;
- eval(Name + "b")._y = this["Y" + l] + i * Size;
- Matrix[i][j] = "no";
- this["Matrix" + l] = Matrix;
- }
- function FindName(x, y, l)
- {
- return "s" + l + x + y;
- }
- stop();
- ok.useHandCursor = false;
- var i = 10;
- while(i < 30)
- {
- this.attachMovie("tail","tail" + i + "slicehelp",this.getNextHighestDepth(),{_x:-3000});
- this["tail" + i + "slicehelp"].gotoAndStop(1);
- i++;
- }
- _root.TextShow(txt,_root.texthelpclick,"b",-2,0,1);
- _root.notexit = true;
- EndX = 21;
- EndY = 233;
- X1 = Y1 = Y2 = 55;
- X2 = 315;
- Y3 = 205;
- X3 = 105;
- Size = 32;
- Size1 = 32;
- _root.TextShow(help1,_root.helping0,"h",-1,12,1);
- _root.TextShow(help2,_root.helping1,"h",-1,12,1);
- _root.TextShow(help3,_root.helping2,"h",-1,12,1);
- _root.TextShow(help4,_root.helping3,"h",-1,12,1);
- clearInterval(_root.doh1);
- clearInterval(_root.doh2);
- clearInterval(_root.doh3);
- clearInterval(_root.doh4);
- _root.doh1 = _root.doh2 = _root.doh3 = _root.doh4 = 0;
- Init1();
- Init2();
- Init3();
- Init4();
- this.attachMovie("black","b1",this.getNextHighestDepth(),{_x:10,_y:45,_width:247,_height:145,_alpha:50});
- this.attachMovie("black","b2",this.getNextHighestDepth(),{_x:265,_y:45,_width:247,_height:145,_alpha:50});
- this.attachMovie("black","b3",this.getNextHighestDepth(),{_x:10,_y:200,_width:247,_height:145,_alpha:50});
- this.attachMovie("black","b4",this.getNextHighestDepth(),{_x:265,_y:200,_width:247,_height:145,_alpha:50});
-